package com.wzz.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author DarkClown
 * @date 2024-08-12 10:33
 * @project_name day0812-month
 * @parem
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Goods {
    @TableId(type = IdType.AUTO)
    private Integer gid;

    private String gname;

    private Integer price;

    private Integer t1;

    private Integer t2;

    private Integer t3;
    @TableField(exist = false)
    private String tname;

    private String gnum;

    private Integer myStatus;

    private Date createTime;

    private Integer num;

    private Integer points;

    @TableField(exist = false)
    private List<Img> imgList;

    @TableField(exist = false)
    private String text;

    @TableField(exist = false)
    private Integer uid;

}
